import httpApi from '@/service/api.js'

// MV排行
export function getTopMv(offset, limit = 10) {
	return httpApi.get('/top/mv', {
		offset,
		limit
	})
}

// mv详情
export function getMvDetail(mvid) {
	return httpApi.get('/mv/detail',{
		mvid
	})
}
// mv视频地址
export function getMv(id) {
	return httpApi.get('/mv/url', {
		id
	})
}
// 相关视频
export function getRelated(id) {
	return httpApi.get('/related/allvideo',{
		id
	})
}